package com.itljm.cxrMarket.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.itljm.cxrMarket.entity.OrderItems;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * 订单列表DTO
 * @author ljm
 * @date 2024/12/28 21:00
 */
@Data
public class OrderItemProductsDTO {
    private Integer orderId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date orderTime;
    private Integer status;
    private String paymentMethod;
    private BigDecimal totalPrice;
    private List<OrderItems> goodsList;
}
